package com.pipayshop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户注册表，存储用户登录信息，关联用户信息表
 * </p>
 *
 * @author kk
 * @since 2024-09-08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_register")
@Schema(description="用户注册表，存储用户登录信息，关联用户信息表")
public class UserRegister implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "用户名")
    private String piName;

    @Schema(description = "登录密码,tocys插入的用户默认密码是123456")
    private String password;

    @Schema(description = "pi的用户id")
    private String uid;

    @Schema(description = "0:正常1：逻辑删除")
    private Boolean delFlag;

}
